import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import Svg from "./Svg.vue";
import Pagination from "./Pagination.vue";
import Dialog from "./Dialog.vue";
export default (vue: any) => {
  let useComponents: any = { Svg, Pagination, Dialog };
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    vue.component(key, component);
  }
  Object.keys(useComponents).map((item) => {
    vue.component(item, useComponents[item]);
  });
};
